package com.wanxi.education.model.vo.video;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: 寇文宝
 * @Description:
 * @Date: Created in 2021/9/24
 * @Version: 1.0
 */
@Data
@ApiModel(value = "视频管理分页查询返回vo类")
public class VideoGoBackVo {
    /**
     * id主键
     */
    @ApiModelProperty(value = "视频id",required = true)
    private Long id;

    /**
     * 视频名字
     */
    @ApiModelProperty(value = "视频名字",required = true)
    private String name;

    /**
     * 视频路径
     */
    @ApiModelProperty(value = "视频路径",required = true)
    private String uri;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
